﻿{% extends 'base.html' %}
{% from 'macros.html' import form_field %}

{% block title %}
    <h1>编 辑 页</h1>
{% endblock %}

{% block content %}
        <form method = "post">
                {{form.csrf_token}}
                {{form_field(form.subject)}}<br>
                {{form_field(form.keyword1)}}<br>
                {{form_field(form.keyword2)}}<br>
                {{form_field(form.text,rows=5,cols=50)}}<br>
                {{form_field(form.update)}}<br>
        </form>
 {% endblock %}

{% block link %}
    <nav>
        <ul>
            <li>
                <a href="{{ url_for('recordform') }}">recordform&#8629;</a>
            </li>
            <li>
                <a href="{{ url_for('showform') }}">showform&#8629;</a>
            </li>
        </ul>
    </nav>
{% endblock %}
</body>
</html>